home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 007 / asm_subr.arc / STDINCK < prev    next >
Encoding:
Text File  |  1985-09-24  |  512 b   |  16 lines

  1. ;-------------------------routine begins--------------------------+
  2. ; ROUTINE TO CHECK FOR STANDARD INPUT
  3. ;
  4. stdinck    proc    far
  5.     push    dx        ; save registers
  6. ;
  7.     mov    d1,0FFh        ; direct console input
  8.     mov    ah,06h        ; check std direct input status
  9.     int    21h        ; DOS call
  10. ;
  11.     pop    dx        ; restore registers
  12.     ret
  13. ;
  14. stdinck    endp
  15. ;-------------------------routine ends---------------------------+
  16.